package com.yanqu.road.entity.activity.doublespring.data;

import com.yanqu.road.entity.DataObject;
import com.yanqu.road.entity.DataStatus;
import com.yanqu.road.entity.FieldTypeAnnotation;

@FieldTypeAnnotation(tableName = "t_u_double_spring_zl_user_data", desc = "踏春游记-战令数据表")
public class DoubleSpringZlUserData extends DataObject {

    /**
     * 活动ID
     */
    private int activityId;

    /**
     * 玩家ID
     */
    private long userId;

    /**
     * 经验
     */
    private long exp;

    /**
     * 比翼双飞礼包ID
     */
    private int bysfMallId;

    /**
     * 情比金坚礼包ID
     */
    private int qbjjMallId;

    /**
     * 创建时间
     */
    private Long createTime;

    public void setActivityId(int activityId) {
        if (this.activityId != activityId) {
            this.activityId = activityId;
            setOp(DataStatus.Update);
        }
    }

    public int getActivityId() {
        return activityId;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        if (this.userId != userId) {
            this.userId = userId;
            setOp(DataStatus.Update);
        }
    }

    public long getExp() {
        return exp;
    }

    public void setExp(long exp) {
        if (this.exp != exp) {
            this.exp = exp;
            setOp(DataStatus.Update);
        }
    }

    public void setBysfMallId(int bysfMallId) {
        if (this.bysfMallId != bysfMallId) {
            this.bysfMallId = bysfMallId;
            setOp(DataStatus.Update);
        }
    }

    public int getBysfMallId() {
        return bysfMallId;
    }

    public void setQbjjMallId(int qbjjMallId) {
        if (this.qbjjMallId != qbjjMallId) {
            this.qbjjMallId = qbjjMallId;
            setOp(DataStatus.Update);
        }
    }

    public int getQbjjMallId() {
        return qbjjMallId;
    }

    public void setCreateTime(Long createTime) {
        if (this.createTime != createTime) {
            this.createTime = createTime;
            setOp(DataStatus.Update);
        }
    }

    public Long getCreateTime() {
        return createTime;
    }
}
